import HttpRequest from '@/utils/http-request'

const api = new HttpRequest()

export const getCategoriesList = () =>
    api.get('category')

export const addCategories = params =>
    api.post('category', params)